# Uncomment the next line to define a global platform for your project
# platform :ios, '12.0'

target 'XWSurSpeed' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
 post_install do |pi|
      pi.pods_project.targets.each do |t|
        t.build_configurations.each do |config|
          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
	  config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
          config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
          config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
          config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
          xcconfig_path = config.base_configuration_reference.real_path
                   xcconfig = File.read(xcconfig_path)
                   xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
                   File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
        end
      end
  end


    pod 'SnapKit'
    pod 'HandyJSON'
#    pod 'Kingfisher'
    pod 'Alamofire'
#    pod 'SwiftyJSON'
#    pod 'MJRefresh'
#    pod 'FDFullscreenPopGesture'
#    pod 'CryptoSwift'
#    pod 'PPSPing'
#    pod 'GoogleMaps','8.4.0'
    pod 'SVGAPlayer'
    pod 'IQKeyboardManager'
    pod 'KeychainSwift'
    pod 'DeviceKit'
    pod 'SDWebImage'
  # Pods for XWSurSpeed

  target 'XWSurSpeedTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'XWSurSpeedUITests' do
    # Pods for testing
  end

end
